package org.xzx.shop_api.entity;

import lombok.Data;

@Data
public class ApiAccount {
    private int id;
    private String username;
    private String password;
    private int enabled;

    @Override
    public String toString() {
        return "ApiAccount{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", enabled='" + enabled + '\'' +
                '}';
    }

    public ApiAccount() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getEnable() {
        return enabled;
    }

    public void setEnable(int enable) {
        this.enabled = enable;
    }
}
